//
//  NSString+Extension.m
//  百布业务
//
//  Created by 陈炳桦 on 15/11/3.
//  Copyright © 2015年 陈炳桦. All rights reserved.
//

#import "NSString+Extension.h"

@implementation NSString (Extension)

- (BOOL)isEmpty{

    // 去掉左右空格
    [self stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]];
    if (self.length == 0) {
        return YES;
    }
    
    return NO;
}

@end
